package com.example.xueshen.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

@Data
public class   Ban {
    @TableId(value = "class_id",type= IdType.AUTO)
    private Integer classId;

    private int  courseId;
    private String className;
    private int classPeoper;
    private int teacherId;
    @TableField(exist = false)
    private Course course;

/*    public Teacher getTeacher() {
        return teacher;
    }

    public void setTeacher(Teacher teacher) {
        this.teacher = teacher;
    }

    public Ban(int classId, int courseId, String className, int classPeoper, int teacherId) {
        this.classId = classId;
        this.courseId = courseId;
        this.className = className;
        this.classPeoper = classPeoper;
        this.teacherId = teacherId;
    }

    public Ban(){

    }*/

}
